﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using DAL;
using Common;

public partial class System_Backup_Add : System.Web.UI.Page
{

    protected string MenuType
    {
        get { return string.IsNullOrEmpty(Request["menutype"]) ? "" : Request["menutype"].ToString(); }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

        if (!this.IsPostBack)
        {
       
        }
    }

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        if (WebUtility.Backup())
        {
            Label1.Text = "备份成功";
        }
        else
        {
            Label1.Text = "备份失败";
        }
    }
}
